package net.sinodata.smartframework.schedulejob.base;

import java.util.Date;

import org.quartz.JobKey;

/**
 * Description: 定时任务状态
 * 
 * @author: yinliangyun
 * @date: 2021-5-18
 */
public class ScheduleJobStatus {
	
	private JobKey jobKey;

	private String jobName;

	private Date nextFireTime;
	
	private String nextFireTimeString;

	public ScheduleJobStatus(JobKey jobKey, String jobName, Date nextFireTime, String nextFireTimeString) {
		this.jobKey = jobKey;
		this.jobName = jobName;
		this.nextFireTime = nextFireTime;
		this.nextFireTimeString = nextFireTimeString;
	}

	public JobKey getJobKey() {
		return jobKey;
	}

	public void setJobKey(JobKey jobKey) {
		this.jobKey = jobKey;
	}

	public Date getNextFireTime() {
		return this.nextFireTime;
	}

	public void setNextFireTime(Date nextFireTime) {
		this.nextFireTime = nextFireTime;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}
	
	public String getNextFireTimeString() {
		return nextFireTimeString;
	}

	public void setNextFireTimeString(String nextFireTimeString) {
		this.nextFireTimeString = nextFireTimeString;
	}

	@Override
	public String toString() {
		return "ScheduleJobStatus [jobKey=" + jobKey + ", jobName=" + jobName + ", nextFireTime=" + nextFireTime
				+ ", nextFireTimeString=" + nextFireTimeString + "]";
	}

}
